package com.campusbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 获奖情况表
 * </p>
 *
 * @author yezi
 * @since 2025-07-24
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode
@Schema(name = "Awards", description = "获奖情况表")
public class Awards implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "用户类型：1-教师，2-学生")
    private Byte userType;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "奖项名称")
    private String awardName;

    @Schema(description = "奖项级别")
    private String awardLevel;

    @Schema(description = "颁奖机构")
    private String awardingOrganization;

    @Schema(description = "获奖时间")
    private LocalDate awardTime;

    @Schema(description = "获奖描述")
    private String awardDescription;

    @Schema(description = "证书图片URL")
    private String certificateUrl;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
